<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Database_fields
 *
 * @author Group Nataraj project
 */
class Dbf {

    // Fielt name in table tbl_teachers

    //----------table student----------
    
    var $tbl_student = 'tbl_student';
    var $stu_id = 'stu_id';
    var $stu_name = 'stu_name';
    var $stu_sex = 'stu_sex';
    var $stu_telephone = 'stu_telephone';
    var $stu_dob = 'stu_dob';
    var $stu_email = 'stu_email';
    var$stu_mailist = 'stu_mailist';
    var $stu_type_id = 'stu_type_id';
    var $stu_get_information = 'stu_get_information';
    var $tea_position = 'tea_position';
    var $stu_status = 'stu_status';
    
    //--------------------------------
    //----table for teacher----------------
    
    var $tbl_teacher = 'tbl_teacher';
    var $tea_id = 'tea_id';
    var $tea_name = 'tea_name';
    var $stu_number = 'stu_number';
    var $date = 'date';
    var $class_time = 'class_time';
    var $tea_description = 'tea_description';
    var $tea_status = 'tea_status';
    
    //---------------------------------------
    //-----table for user---------------
    
    var $tbl_user = 'tbl_user';
    var $use_id = 'use_id';
    var $use_username = 'use_username';
    var $use_sex = 'use_sex';
    var $use_password = 'use_password';
    var $use_email = 'use_email';
    var $use_confirmpassword = 'use_confirmpassword';
    var $user_type = 'user_type';
    var $use_status = 'use_status';

    //---------------------------------
    //------------table attendance----
    
   
    var $tbl_attendence = 'tbl_attendence';
    var $att_id = 'att_id';
    var $car_type_name = 'car_type_name';
    var $att_date = 'att_date';
    var $att_time = 'uatt_time';
    var $stu_type = 'stu_id';
    var $cla_id = 'cla_id';
    var $teacher_id= 'tea_id';
    var $att_status = 'att_status';
    
    //----------------------------------
    
    //----------table class--------------
    
     var $tbl_class = 'tbl_class';
  // var $cla_id= 'cla_id';
     var $cla_name = 'cla_name';
     var $cla_description= 'cla_description';
     var $cla_status = 'cla_status';
     
    //---------------------------------
     
     //------------table product--------------
      var $tbl_product = 'tbl_product';
     var $pro_id= 'pro_id';
     var $pro_name = 'pro_name';
     var $pro_price= 'pro_price';
     var $pro_quantity = 'pro_quantity';
      var $pro_details = 'pro_details';
     var $pro_type_id= 'pro_type_id';
     var $pro_status = 'pro_status';
     
     //------------------------------------------
     
     //-------------table card-------------------
      var $tbl_card= 'tbl_card';
     var $car_id= 'car_id';
     var $car_name= 'car_name';
     var $car_description= 'car_description';
     var $car_status = 'car_status';
      
     
     //------------------------------------------
    
    function Dbf() {
        $obj = & get_instance();
    }

}

?>
